package com.me.modules.incident.service;

import com.me.modules.common.page.Page;
import com.me.modules.incident.entity.IncidentInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 事件工单
 *
 * @author me
 * @email me@163.com
 * @date 2018-12-27 09:22:56
 */
public interface IncidentInfoService {

	IncidentInfoEntity queryObject(Long id);

	List<IncidentInfoEntity> queryList(Map<String, Object> map);

    List<IncidentInfoEntity> queryListByBean(IncidentInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(IncidentInfoEntity incidentInfo);

	int update(IncidentInfoEntity incidentInfo);

	int delete(Long id);

	int deleteBatch(Long[] ids);

	Page<IncidentInfoEntity> findPage(IncidentInfoEntity leaveEntity, int pageNum);
}
